package cn.ito.zjgsu.utils.impl;

import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSONObject;

import cn.ito.zjgsu.constant.StatusCode;
import cn.ito.zjgsu.utils.StatusCodeUtil;
@Component
public class StatusCodeUtilImpl implements StatusCodeUtil{
	public String toJsonStatus(String status) {
		JSONObject json = new JSONObject();
		json.put(StatusCode.STATUS, status);
		return json.toJSONString();
	}

}
